package de.slothsoft.wasbinich.core.database;

import java.util.List;

import de.slothsoft.wasbinich.core.FullPicture;

public interface ManagerBean {

    List<FullPicture> getPictures() throws DatabaseException;

    FullPicture getPicture(long id) throws DatabaseException;

    FullPicture updatePicture(FullPicture picture) throws DatabaseException;

    FullPicture createPicture(FullPicture picture) throws DatabaseException;

    void deletePicture(long id) throws DatabaseException;
}
